import * as TYPES from '../common/type'

const initialState = {
    initialed : false
}

export default function User(state = initialState, action) {
    switch (action.type) {
        case TYPES.INITIAL_APP:
            return {
                initialed : true
            }
        case TYPES.UNINITIAL_APP:
            return {
                initialed : false
            }
        default:
            return state
    }
}
